<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Pragma"   content="no-cache">   
<meta http-equiv="Cache-Control"   content="no-cache">   
<meta http-equiv="Expires"   content="0">   
<title>服装信息详细</title>
<script type="text/javascript" src="${pageContext.request.contextPath }/resource/easyui/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/resource/jquery-lightbox-0.5/js/jquery.lightbox-0.5.js"></script>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/resource/jquery-lightbox-0.5/css/jquery.lightbox-0.5.css" media="screen" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/resource/form.css">
<script>
$(document).ready(function() {
    $('a').lightBox();
});
</script>
</head>
<body>
		<table style="width:100%;height:200px;">
			<tr>
				<td id="${formBean.bean.id }"><label>服装名称</label></td>
				<td>
					<form:input path="formBean.bean.productName" />
				</td>
				<td rowspan="8" width="200">
				<a href="${pageContext.request.contextPath}/system/prod/show.htm?id=${formBean.bean.id }" title="点击查看或关闭">
					<img alt="${formBean.bean.productName }" width="200" height="245" src="${pageContext.request.contextPath}/system/prod/show.htm?id=${formBean.bean.id }">
				</a>
				</td>
			</tr>
			<tr>
				<td ><label>类别</label></td>
				<td>
					<form:select path="formBean.bean.category.id">
						<form:options items="${formBean.categories}" itemValue="id" itemLabel="categoryName"/>  
					</form:select>
				</td>
			</tr>
			<tr>
				<td><label>颜色</label></td>
				<td>
					<form:input path="formBean.bean.productColor" />
				</td>
			</tr>
			<tr>
				<td><label>尺寸</label></td>
				<td>
					<form:input path="formBean.bean.productSize"/>
				</td>
			</tr>
			<tr>
				<td><label>入库价格</label></td>
				<td>
					<form:input path="formBean.bean.productPrice1" />
				</td>
			</tr>
			<tr>
				<td><label>分销价格</label></td>
				<td>
					<form:input path="formBean.bean.productPrice2" />
				</td>
			</tr>
			<tr>
				<td><label>零售价格</label></td>
				<td>
					<form:input path="formBean.bean.productPrice3" />
				</td>
			</tr>
			<tr>
				<td><label>货币单位</label></td>
				<td>
					<form:select path="formBean.bean.productPriceUnit">
						<form:option value="￥" label="人民币"/>  
						<form:option value="$" label="美元"/>  
						<form:option value="NT" label="新台币"/>  
					</form:select>
				</td>
			</tr>
			<tr>
				<td><label>生产厂家</label></td>
				<td>
					<form:input path="formBean.bean.productFactory" />
				</td>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td><label>更新日期</label></td>
				<td>
					${formBean.bean.productUpdate }<form:hidden path="formBean.bean.productUpdate" />
				</td>
				<td>&nbsp;</td>
			</tr>
			<tr>
				<td><label>备注</label></td>
				<td >
					<form:textarea path="formBean.bean.productNote" rows="2" cols="20" />
				</td>
				<td>&nbsp;</td>
			</tr>
		</table>
</body>
</html>